package com.cntcdt.api.service;

import java.util.List;

import com.cntcdt.api.db.model.UpdateGroupDeviceModel;

public interface UpdateGroupDeviceService {
	public List<UpdateGroupDeviceModel> findByGroupId(int groupId);
	
	public UpdateGroupDeviceModel findByGroupIdAndTerminal(int groupId,String terminal);
	
	public int insertModel(UpdateGroupDeviceModel device);
	
	public UpdateGroupDeviceModel findById(int id);
	
	public boolean updateModel(UpdateGroupDeviceModel device);
	
	public UpdateGroupDeviceModel findByTerminal(String terminal);
	
	public List<String> windows2android();
	
	public boolean isExistRecord(String terminal);
}
